package cn.com.surker.sale.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 销售合同信息价
 * </p>
 *
 * @author admin
 * @since 2024-07-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class SaleContractInfoPrice implements Serializable {

    private static final long serialVersionUID = 1L;

	public SaleContractInfoPrice() {

	}

	public SaleContractInfoPrice(String today, String area, String strength, Double price, Double taxPrice, Integer status, Integer isCheck, String remark, String creator, Date createTime) {
		this.today = today;
		this.area = area;
		this.strength = strength;
		this.price = price;
		this.taxPrice = taxPrice;
		this.status = status;
		this.isCheck = isCheck;
		this.remark = remark;
		this.creator = creator;
		this.createTime = createTime;
	}

	/**
     * 标识
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 信息价时间(格式yyyy-MM)
     */
    private String today;

    /**
     * 地区
     */
    private String area;

    /**
     * 标号
     */
    private String strength;

    /**
     * 单价
     */
    private Double price;

    /**
     * 含税单价
     */
    private Double taxPrice;

    /**
     * 状态(0:启用1：禁用)
     */
    private Integer status;

    /**
     * 是否审核(0:未审核1:已审核)
     */
    private Integer isCheck;

    /**
     * 备注
     */
    private String remark;

    /**
     * 创建人
     */
    private String creator;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createTime;

    /**
     * 修改人
     */
    private String updator;

    /**
     * 修改时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date updateTime;


}
